﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProformaReadForm.aspx.cs" 
Inherits="UILGestion.VentaAdmin.Proforma.ProformaReadForm " %>
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="lib" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register src="../../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc1" %>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
    <script src="../../Scripts/jquery-1.5.2.min.js" type="text/javascript"></script>
  <link href="../../css/main.css" rel="stylesheet" type="text/css" />

 <script type="text/javascript">
<!--

     function goPage() {


         var internalid = document.getElementById("internalID").value;
         window.open('../../Rpt/PrintForm.aspx?type=PROFORMAVENTA&id=' + internalid.toString() );
     }

-->
</script>
</head>
<body>


    <form id="form1" runat="server">
     <input id="internalID" type="hidden" runat="server" />
     <input id="idEtapa" type="hidden" runat="server" />
      <input id="paginaAnt" type="hidden" runat="server" />
   <input id="idProyecto" type="hidden" runat="server" />
   <input id="idColeccion" type="hidden" runat="server" />
  <uc1:menuCtrl ID="menuCtrl1" runat="server" />
    
      <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server" 
      EnableScriptGlobalization="true"  
     EnablePartialRendering="true" />
    
     <asp:Panel ID="pnlMain" runat="server"
  CssClass="Heading secTitle AreaHeading ms-crm-List-Header">
  <asp:Label ID="Label3" runat="server" Text="EDITAR PROFORMA" style="font-size: large; color: #960818" 
             ></asp:Label>
         :<asp:Label ID="numDocumentoLBL" runat="server" style="font-size: large; color: #960818"></asp:Label>
 </asp:Panel>
     
  <asp:Panel ID="PanelButtom" runat="server"    class="ms-crm-Form-Body" >
                 <table  width="100%">
                 <tr>
                 <td  width="80%">
                 
   <table >
<tr>

        <td>
    <asp:Button ID="refreshBTN" runat="server" Text="Restablecer"   CssClass="ms-crm-List-Header" onclick="button" 
          /></td> 
           <td>
    <asp:Button ID="EditarBTN" runat="server" Text="Editar"   CssClass="ms-crm-List-Header" onclick="button" 
          /></td> 
        <td>
    <asp:Button ID="nuevoBTN" runat="server" Text="Nuevo"   CssClass="ms-crm-List-Header"  onclick="button"
          /></td> 

          
        <td>
    <asp:Button ID="eliminarBTN" runat="server" Text="Eliminar"   CssClass="ms-crm-List-Header"  onclick="button"
          /></td> 
 

   <td>
    <asp:Button ID="ListaBTN" runat="server" Text="Lista"   CssClass="ms-crm-List-Header"  onclick="button"
          /></td> 

            <td width=100px align="right" >
         <a href="#"    onclick="goPage();return true"><img  src="../../Images/printer.gif"></image></a>
        </td>
</tr>
</table>
                 </td>
                 <td>
               
                     <asp:Button ID="anteriorBTN" runat="server" CssClass="ms-crm-List-Header" 
                         onclick="button" Text="Anterior" />
                         </td>
                         <td>
                     <asp:Button ID="siguienteBTN" runat="server" CssClass="ms-crm-List-Header" 
                         onclick="button" Text="Siguiente" />
               
                 </td>
                 </tr>
                 </table>
 </asp:Panel>
    
  <asp:Panel ID="PanelBody" runat="server"  BackColor="white" >            
 
 

     <table >
         <tr>
                                            <td align="right" width="100px">
                                                Fecha:</td>
                                            <td width="150px">
                                                <asp:Label ID="fechaTXT" runat="server" ReadOnly="true" 
                                                    Width="80px" TabIndex="1"></asp:Label>
                                                
                                            </td>
                                            <td class="style4" width="100" align="right">
                                                Formato de Venta:</td>
                                            <td width="150px">
                                                <asp:Label ID="formatoVentaDDL" runat="server" Width="200px" 
                                                    TabIndex="5" ></asp:Label>
                                                
                                            </td>
                                            <td width="300PX" rowspan="3">

                                    <table>
                                        
                                        <tr>
                                            <td  >
                                                <table class="PanelTotales">
                                                    <tr>
                                                        <td align="right">
                                                            Total:</td>
                                                        <td align="right" width="120px">
                                                            <asp:Label ID="totalTXT" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            <asp:Label ID="contadoLBL" runat="server"></asp:Label>
                                                        </td>
                                                        <td align="right" valign="100px">
                                                            <asp:Label ID="contadoTXT" runat="server"></asp:Label>
                                                            <br />
                                                        </td>
                                                    </tr>
                                            
                                                    <tr>
                                                        <td align="right">
                                                            <asp:Label ID="bonoLBL" runat="server"></asp:Label>
                                                        </td>
                                                        <td align="right" valign="100px">
                                                            <asp:Label ID="bonoTXT" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            <asp:Label ID="chLBL" runat="server"></asp:Label>
                                                        </td>
                                                        <td align="right" valign="100px">
                                                            <asp:Label ID="chTXT" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                             

                                                                     
</td>
                                        </tr>
         <tr>
                                            <td align="right" width="100px">
                                                Nombres: </td>
                                            <td width="150px">
                                             
                                                <asp:Label ID="nombreTXT" runat="server" Width="150px" 
                                                    TabIndex="2"></asp:Label>
                                             
                                            </td>
                                            <td class="style4" width="100" align="right">
                                                Moneda:</td>
                                            <td width="150px">
                                                <asp:Label ID="monedaDDL" runat="server"  Width="150px">
                                                </asp:Label>
                                            </td>
                                        </tr>
         <tr>
                                            <td align="right" width="100px">
                                                Apellidos:</td>
                                            <td width="150px">
                                                <asp:Label ID="apellidoTXT" runat="server"  
                                                    Width="150px" TabIndex="3"></asp:Label>
                                            </td>
                                            <td class="style4" width="100" align="right">
                                                Banco:</td>
                                            <td width="150px">
                                                <asp:Label ID="bancoDDL" runat="server" 
                                                    TabIndex="6" 
                                                    Width="180px">
                                                </asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" width="100px">
                                                DNI:</td>
                                            <td width="150px">
                                                <asp:Label ID="dniTXT" runat="server" Width="150px" 
                                                    TabIndex="4"></asp:Label>
                                            </td>
                                            <td class="style4" width="100" align="right">
                                                Observación:</td>
                                            <td width="150px" rowspan="4">
                                                <asp:Label ID="observacionTXT" runat="server" Height="60px"
                                                    Width="200px"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" class="style2" width="100px">
                                                Email:</td>
                                            <td class="style2" width="150px">
                                                <asp:Label ID="correoElectronicoTXT" runat="server" 
                                                    TabIndex="8" Width="150px"></asp:Label>
                                            </td>
                                            <td class="style5" width="100" align="right">
                                                &nbsp;</td>
         </tr>
         <tr>
             <td align="right" class="style2" width="100px">
                 Telefono:</td>
             <td class="style2" width="150px">
                 <asp:Label ID="telefonoTXT" runat="server" TabIndex="7" Width="150px"></asp:Label>
             </td>
             <td class="style5" width="100" align="right">
                 &nbsp;</td>
         </tr>
         <tr>
             <td align="right" class="style2" width="100px">
                 Celular:</td>
             <td class="style2" width="150px">
                 <asp:Label ID="celularTXT" runat="server" TabIndex="7" Width="150px"></asp:Label>
             </td>
             <td align="right" class="style5" width="100">
                 &nbsp;</td>
         </tr>
         <tr>
             <td align="right" class="style2" width="100px">
                 Dirección:</td>
             <td class="style2" width="150px">
                 <asp:Label ID="direccionTXT" runat="server" TabIndex="6" Width="150px"></asp:Label>
             </td>
             <td class="style5" width="100" align="right">
                 Como te enteraste?</td>
             <td class="style2" width="150px">
                 <asp:Label ID="enterasteDDL" runat="server" Width="200px"></asp:Label>
             </td>
         </tr>
       
    </table>


   
   
  
     
   <hr />

   
      <asp:TabContainer ID="TabContainer1" runat="server"  ActiveTabIndex="0"  
          Width="100%" >
          <asp:TabPanel ID="TabPanel1" runat="server" HeaderText="Detalle" >
          <ContentTemplate>
   <asp:GridView ID="itemGridView" runat="server" DataKeyNames="idInternal" 
          ShowHeaderWhenEmpty="true" 
         SkinID="GridView">
         <Columns>
         <asp:BoundField DataField="idInternal" HeaderText="ITEM" ItemStyle-Width="30px" DataFormatString="{0:D3}"/>
         <asp:BoundField DataField="descripcion" HeaderText="DESCRIPCION" ItemStyle-Width="400px" />
         <asp:BoundField DataField="total" HeaderText="PRECIO" ItemStyle-Width="120px"  ItemStyle-HorizontalAlign="Right" DataFormatString ="{0:N2}" />
         <asp:BoundField DataField="separacion" HeaderText="SEPARACION" ItemStyle-Width="120px"  ItemStyle-HorizontalAlign="Right" DataFormatString ="{0:N2}" />
         <asp:CheckBoxField DataField="bitfinanciado" HeaderText="FINANCIADO" ItemStyle-Width="80px"/>

         </Columns>
     </asp:GridView>
</ContentTemplate>
</asp:TabPanel>



          <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Informacion" >
          <ContentTemplate>
      <table>
     <tr>
             <td align="right" class="style2" width="80PX">
                 Tipo Ingreso(Remuneración):
             </td>
             <td class="style2" width="180PX">
                 <asp:Label ID="tipoIngresoTXT" runat="server" TabIndex="7" Width="350px"></asp:Label>
             </td>
         </tr>
         <tr>
             <td align="right" class="style2" valign="top" width="80PX">
                 Observación Financiera:</td>
             <td class="style2" width="180PX">
                 <asp:Label ID="observacionFinTXT" runat="server" TabIndex="7" 
                     TextMode="MultiLine" Width="350px" Height="80px"></asp:Label>
             </td>
         </tr>
   
   </table>
</ContentTemplate>
</asp:TabPanel>


</asp:TabContainer>
      
  
     
   
  
  
 </asp:Panel>

    </form>
   
    </body>
</html>
